import pandas as pd
# Also works with most supported chart types
import matplotlib.pyplot as plt
import numpy as np
import streamlit as st
from streamlit_modal import Modal
import streamlit.components.v1 as components
def show_demo():
    df = pd.DataFrame({'col1': [1,2,3]})
    st.write(df)  # 👈 Draw the dataframe

    x = 10
    'x', x  # 👈 Draw the string 'x' and then the value of x
    arr = np.random.normal(1, 1, size=100)
    fig, ax = plt.subplots()
    ax.hist(arr, bins=20)

    st.write(fig)  # 👈 Draw a Matplotlib chart
    st.button("refresh")